package com.atguigu.pojo;

import java.util.Date;
import java.util.List;

public class Service {
    private String id;
    private String serverId;
    private String name;
    private String  version;
    private String ports;
    private String customer;
    private String programmer;
    private Date endTime;

    public Service() {
    }

    public Service(String id, String serverId, String name, String version, String customer, String programmer, Date endTime) {
        this.id = id;
        this.serverId = serverId;
        this.name = name;
        this.version = version;
        this.customer = customer;
        this.programmer = programmer;
        this.endTime = endTime;
    }

    public Service(String id, String serverId, String name, String version, String ports, String customer, String programmer, Date endTime) {
        this.id = id;
        this.serverId = serverId;
        this.name = name;
        this.version = version;
        this.ports = ports;
        this.customer = customer;
        this.programmer = programmer;
        this.endTime = endTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getPorts() {
        return ports;
    }

    public void setPorts(String ports) {
        this.ports = ports;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getProgrammer() {
        return programmer;
    }

    public void setProgrammer(String programmer) {
        this.programmer = programmer;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Service{" +
                "id=" + id +
                ", serverId='" + serverId + '\'' +
                ", name='" + name + '\'' +
                ", version='" + version + '\'' +
                ", ports='" + ports + '\'' +
                ", customer='" + customer + '\'' +
                ", programmer='" + programmer + '\'' +
                ", endTime=" + endTime +
                '}';
    }

}
